HTTP/1.0 500 INTERNAL SERVER ERROR
Content-Type: text/html; charset=utf-8
X-XSS-Protection: 0
Connection: close
Server: Werkzeug/0.10.4 Python/2.7.6
Date: Wed, 29 Apr 2015 06:44:15 GMT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <title>AttributeError: 'unicode' object has no attribute 'get' // Werkzeug Debugger</title>
    <link rel="stylesheet" href="?__debugger__=yes&amp;cmd=resource&amp;f=style.css" type="text/css">
    <!-- We need to make sure this has a favicon so that the debugger does not by
         accident trigger a request to /favicon.ico which might change the application
         state. -->
    <link rel="shortcut icon" href="?__debugger__=yes&amp;cmd=resource&amp;f=console.png">
    <script type="text/javascript" src="?__debugger__=yes&amp;cmd=resource&amp;f=jquery.js"></script>
    <script type="text/javascript" src="?__debugger__=yes&amp;cmd=resource&amp;f=debugger.js"></script>
    <script type="text/javascript">
      var TRACEBACK = 4381471888,
          CONSOLE_MODE = false,
          EVALEX = true,
          SECRET = "VZZiNcZDEniv7omNaQBO";
    </script>
  </head>
  <body>
    <div class="debugger">
<h1>AttributeError</h1>
<div class="detail">
  <p class="errormsg">AttributeError: 'unicode' object has no attribute 'get'</p>
</div>
<h2 class="traceback">Traceback <em>(most recent call last)</em></h2>
<div class="traceback">
  
  <ul><li><div class="frame" id="frame-4382480720">
  <h4>File <cite class="filename">"/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py"</cite>,
      line <em class="line">1836</em>,
      in <code class="function">__call__</code></h4>
  <pre>return self.wsgi_app(environ, start_response)</pre>
</div>

<li><div class="frame" id="frame-4382479952">
  <h4>File <cite class="filename">"/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py"</cite>,
      line <em class="line">1820</em>,
      in <code class="function">wsgi_app</code></h4>
  <pre>response = self.make_response(self.handle_exception(e))</pre>
</div>

<li><div class="frame" id="frame-4382480656">
  <h4>File <cite class="filename">"/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py"</cite>,
      line <em class="line">1403</em>,
      in <code class="function">handle_exception</code></h4>
  <pre>reraise(exc_type, exc_value, tb)</pre>
</div>

<li><div class="frame" id="frame-4382479824">
  <h4>File <cite class="filename">"/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py"</cite>,
      line <em class="line">1817</em>,
      in <code class="function">wsgi_app</code></h4>
  <pre>response = self.full_dispatch_request()</pre>
</div>

<li><div class="frame" id="frame-4382479696">
  <h4>File <cite class="filename">"/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py"</cite>,
      line <em class="line">1477</em>,
      in <code class="function">full_dispatch_request</code></h4>
  <pre>rv = self.handle_user_exception(e)</pre>
</div>

<li><div class="frame" id="frame-4382480080">
  <h4>File <cite class="filename">"/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py"</cite>,
      line <em class="line">1381</em>,
      in <code class="function">handle_user_exception</code></h4>
  <pre>reraise(exc_type, exc_value, tb)</pre>
</div>

<li><div class="frame" id="frame-4382480848">
  <h4>File <cite class="filename">"/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py"</cite>,
      line <em class="line">1475</em>,
      in <code class="function">full_dispatch_request</code></h4>
  <pre>rv = self.dispatch_request()</pre>
</div>

<li><div class="frame" id="frame-4382479888">
  <h4>File <cite class="filename">"/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py"</cite>,
      line <em class="line">1461</em>,
      in <code class="function">dispatch_request</code></h4>
  <pre>return self.view_functions[rule.endpoint](**req.view_args)</pre>
</div>

<li><div class="frame" id="frame-4382480528">
  <h4>File <cite class="filename">"/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/view.py"</cite>,
      line <em class="line">104</em>,
      in <code class="function">AddMachine</code></h4>
  <pre>if plugin.CreateMonitors():</pre>
</div>

<li><div class="frame" id="frame-4382480400">
  <h4>File <cite class="filename">"/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/src/CreateItemPlugins/Tomcat.py"</cite>,
      line <em class="line">60</em>,
      in <code class="function">CreateMonitors</code></h4>
  <pre>getStatus = AnalyseResult(getRet, &quot;wget plugin from file server failed&quot;, self.ip)</pre>
</div>

<li><div class="frame" id="frame-4382480016">
  <h4>File <cite class="filename">"/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/src/common/tools/salt.py"</cite>,
      line <em class="line">72</em>,
      in <code class="function">AnalyseResult</code></h4>
  <pre>status = v.get(&quot;success&quot;)</pre>
</div>
</ul>
  <blockquote>AttributeError: 'unicode' object has no attribute 'get'</blockquote>
</div>

<div class="plain">
  <form action="/?__debugger__=yes&amp;cmd=paste" method="post">
    <p>
      <input type="hidden" name="language" value="pytb">
      This is the Copy/Paste friendly version of the traceback.  <span
      class="pastemessage">You can also paste this traceback into
      a <a href="https://gist.github.com/">gist</a>:
      <input type="submit" value="create paste"></span>
    </p>
    <textarea cols="50" rows="10" name="code" readonly>Traceback (most recent call last):
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/view.py", line 104, in AddMachine
    if plugin.CreateMonitors():
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/src/CreateItemPlugins/Tomcat.py", line 60, in CreateMonitors
    getStatus = AnalyseResult(getRet, "wget plugin from file server failed", self.ip)
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/src/common/tools/salt.py", line 72, in AnalyseResult
    status = v.get("success")
AttributeError: 'unicode' object has no attribute 'get'</textarea>
  </form>
</div>
<div class="explanation">
  The debugger caught an exception in your WSGI application.  You can now
  look at the traceback which led to the error.  <span class="nojavascript">
  If you enable JavaScript you can also use additional features such as code
  execution (if the evalex feature is enabled), automatic pasting of the
  exceptions and much more.</span>
</div>
      <div class="footer">
        Brought to you by <strong class="arthur">DON'T PANIC</strong>, your
        friendly Werkzeug powered traceback interpreter.
      </div>
    </div>
  </body>
</html>

<!--

Traceback (most recent call last):
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/view.py", line 104, in AddMachine
    if plugin.CreateMonitors():
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/src/CreateItemPlugins/Tomcat.py", line 60, in CreateMonitors
    getStatus = AnalyseResult(getRet, "wget plugin from file server failed", self.ip)
  File "/Users/tyrion/Documents/workspace/StateMonitor/CreateMonitorItem/src/common/tools/salt.py", line 72, in AnalyseResult
    status = v.get("success")
AttributeError: 'unicode' object has no attribute 'get'

-->
